#include"String.hh"

extern void test0();
typedef void(*Function)(int);
typedef char(*pc)(int);
int test(int x,int y)
{
    return x+y;
}
int main(void){

    String s1("Hello ");
    String s2(s1);
    cout<<s1<<endl;
    cout<<s2<<endl;

    String s3 = "world";
    cout<<s3<<endl;
    cout<<s1+s3<<endl;
    String s4 = s1+s3;
    cout<<s4<<endl; //s4 hello world
    cout<<s4+"nihao"<<endl;
    //cout<<"11111111"<<endl;
    test0();
    int (*p)(int,int);
    p = test;
    int num = p(1,3);
    return 0;
}